package com.settlement.system.model.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.settlement.system.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
* <p>
* 月度锁账日报表
* </p>
*
* @author huangrensen
* @since 2024-08-19
*/
@Data
public class SysLockSummaryRecord implements Serializable {

    /**
     * 平台
     */
    private String platformName;

    /**
     * 店铺
     */
    private String storeName;


    /**
    * 年月
    */
    private String billMonth;


    /**
    * 锁账状态
    */
    private String status;

    /**
     * 期初数据
     */
    private Item beginItem;

    /**
     * 本期数据
     */
    private Item currentItem;

    /**
     * 期末数据
     */
    private Item endItem;

    @Data
    public static class Item implements Serializable {
        /**
         * 发货金额
         */
        private BigDecimal sendAmount = BigDecimal.ZERO;

        /**
         * 退货金额
         */
        private BigDecimal returnAmount = BigDecimal.ZERO;


        /**
         * 应收账款余额
         */
        private BigDecimal receiveBillAmount = BigDecimal.ZERO;

        /**
         * 收入金额（发货金额-退货金额）
         */
        private BigDecimal receiveAmount = BigDecimal.ZERO;
    }
}
